package com.gdufs.secondhandwebsite.service;

import com.gdufs.secondhandwebsite.entity.Comment;

import java.util.List;


public interface CommentService {
    void createComment(Comment comment, String username, String userImg,Long postId);
    boolean delComment(Long commentId);
    boolean updateComment(Comment comment);
    List<Comment> getAllComment();
    List<Comment> getCommentByPostId(Long postId);
}
